const {shareAll, withModuleFederationPlugin} = require('@angular-architects/module-federation/webpack');

let fed = withModuleFederationPlugin({

  remotes: {},

  shared: {
    ...shareAll({singleton: true, strictVersion: true, requiredVersion: 'auto'}),
  },

});
module.exports = {
  ...fed,
  output: {
    uniqueName: "dashboard",
    publicPath: "auto",
    scriptType: 'text/javascript'
  },
};
